/*
 * @Descripttion:
 * @version:
 * @Author: caiailing
 * @Date: 2023-03-29 14:42:43
 * @LastEditors: Please set LastEditors
 * @LastEditTime: 2023-04-10 10:04:05
 */
import 'uno.css'
import { createSSRApp } from 'vue'
import uviewPlus from 'uview-plus'
import App from './App.vue'
import store from '@/store'
import globalComponents from '@/components/index.js'
import shares from '@/mixins/shares'

export function createApp() {
  const app = createSSRApp(App).use(store).use(uviewPlus).use(globalComponents)
  app.mixin(shares)
  return {
    app
  }
}

uni.$u.config.unit = 'rpx'
